package com.example.mybatis.mapper;

import com.example.mybatis.constant.MapperSqlType;
import com.example.mybatis.mapper.component.MapperForeachProperty;

public class MapperSqlTemplate {
    private String id;
    private String sql;
    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public String getSql() {
        return sql;
    }
    private boolean readyForSql;
    private MapperSqlType type;
    public void setReadyForSql(boolean readyForSql) {
        this.readyForSql = readyForSql;
    }

    public boolean getReadyForSql() {
        return readyForSql;
    }

    public void setType(MapperSqlType type) {
        this.type = type;
    }

    public MapperSqlType getType() {
        return type;
    }
    private String refId;
    public void setRefId(String refId) {
        this.refId = refId;
    }

    public String getRefId() {
        return refId;
    }
    private String testCondition;
    public void setTestCondition(String testCondition) {
        this.testCondition = testCondition;
    }

    public String getTestCondition() {
        return testCondition;
    }
    private MapperForeachProperty foreachProperty;
    public void setForeachProperty(MapperForeachProperty foreachProperty) {
        this.foreachProperty = foreachProperty;
    }

    public MapperForeachProperty getForeachProperty() {
        return foreachProperty;
    }
  //  private boolean readyForSql;
//
    public boolean isReadyForSql() {
        return readyForSql;
    }
}
